home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Linux
/
Kubuntu 8.10
/
kubuntu-8.10-desktop-i386.iso
/
casper
/
filesystem.squashfs
/
usr
/
lib
/
tasksel
/
info
/
desktop.preinst
next >
Wrap
Text File
|
2008-10-10
|
439b
|
13 lines
#!/bin/sh
set -e
# We install the X server early on so that other packages (e.g. usplash) can
# get at the resolution it configures. It is listed as part of the task,
# which will take care of its removal when the task is removed.
for pkg in xserver-xorg; do
if apt-cache show "$pkg" >/dev/null 2>&1 &&
! dpkg --get-selections | egrep "^$pkg[[:space:]]+install"; then
apt-get "$@" -q -y -f install $pkg >/dev/null || true
fi
done